home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / binutils.7 / binutils / binutils-2.7 / libiberty / config.table < prev    next >
Encoding:
Text File  |  1996-07-04  |  1.8 KB  |  69 lines

  1. case "${host}" in
  2.   rs6000-ibm-aix3.1 | rs6000-ibm-aix)
  3.                         frag=mh-aix
  4.             files=${xsrcdir}alloca-botch.h ;;
  5.   *-ibm-aix*)        files=${xsrcdir}alloca-botch.h ;;
  6.   arm-*-riscix*)    frag=mh-riscix ;;
  7.   m68k-apollo-bsd*)    frag=mh-a68bsd ;;
  8.   m68k-apollo-sysv*)    frag=mh-apollo68 ;;
  9.   i[345]86-ncr-sysv4*)    frag=mh-ncr3000 ;;
  10.   *-*-cxux7*)        frag=mh-cxux7 ;;
  11.   *-*-lynxos*)        frag=mh-lynxos ;;
  12.   *-*-dgux*)        frag=mh-sysv ;;
  13.   hppa*-hp-bsd*)    frag=mh-hpbsd ;;
  14.   *-*-hpux*)        frag=mh-hpux ;;
  15.   *-*-hiux*)        frag=mh-hpux ;;
  16.   *-*-irix4*)        frag=mh-irix4 ;;
  17.   *-*-irix*)        frag=mh-sysv ;;
  18.   *-*-m88kbcs*)        frag=mh-sysv ;;
  19.   *-*-solaris2*)    frag=mh-sysv4 ;;
  20.   *-*-sysv4*)        frag=mh-sysv4 ;;
  21.   *-*-sysv*)        frag=mh-sysv ;;
  22.   *-*-go32)        frag=mh-go32 ;;
  23.  
  24.   *-*-vxworks5*)
  25.     # VxWorks 5 needs special action, because the usual
  26.     # autoconfiguration scheme does not work.
  27.     frag=mt-vxworks5
  28.     ;;
  29. esac
  30.  
  31. # Try to handle funky case of solaris 2 -> sun 4.
  32. case "${host}" in
  33.   sparc-sun-sunos4.1.3)
  34.     if [ "${with_cross_host}" != "${host}" ] ; then
  35.        frag=mt-sunos4
  36.     fi
  37.   ;;
  38. esac
  39.  
  40. frags=$frag
  41.  
  42. # If they didn't specify --enable-shared, don't generate shared libs.
  43. case "${enable_shared}" in
  44.   yes) shared=yes ;;
  45.   no) shared=no ;;
  46.   *) shared=yes ;;
  47. esac
  48. if [ "${shared}" = "yes" ]; then
  49.   case "${host}" in
  50.     hppa*-*-*)      frags="${frags} ../../config/mh-papic" ;;
  51.     i[345]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
  52.     *-*-*)      frags="${frags} ../../config/mh-${host_cpu}pic" ;;
  53.   esac
  54. fi
  55.  
  56. echo "# Warning: this fragment is automatically generated" > temp-frag
  57.  
  58. for frag in ${frags}; do
  59.   frag=${srcdir}/${xsrcdir}config/$frag
  60.   if [ -f ${frag} ]; then
  61.     echo "Appending ${frag} to xhost-mkfrag"
  62.     echo "# Following fragment copied from ${frag}" >> temp-frag
  63.     cat ${frag} >> temp-frag
  64.   fi
  65. done
  66.  
  67. frag=xhost-mkfrag
  68. ${moveifchange} temp-frag xhost-mkfrag
  69.